import Vue from 'vue'
import {
  Picker,
  Dialog,
  ImagePreview,
  Uploader,
  Area,
  List,
  PullRefresh,
  Calendar,
  DropdownMenu,
  DropdownItem,
  Toast,
  Button,
  Search,
  Icon,
  Popup,
  Form,
  Field,
  Cascader,
  DatetimePicker,
  Radio,
  RadioGroup,
  Cell,
  CellGroup,
  Loading,
  Tab,
  Tabs,
  Image as VanImage,
  Badge,
  NavBar,
  Slider,
  Row,
  Col,
  Collapse,
  CollapseItem,
  Checkbox,
  CheckboxGroup,
  Divider,
  Overlay,
  TreeSelect,
  Sticky
} from 'vant'

Vue.use(Button)
  .use(Checkbox)
  .use(CheckboxGroup)
  .use(Collapse)
  .use(CollapseItem)
  .use(Icon)
  .use(Popup)
  .use(Form)
  .use(Field)
  .use(DatetimePicker)
  .use(Radio)
  .use(RadioGroup)
  .use(Cell)
  .use(CellGroup)
  .use(Loading)
  .use(Tab)
  .use(Tabs)
  .use(DropdownMenu)
  .use(DropdownItem)
  .use(Cascader)
  .use(Search)
  .use(Calendar)
  .use(PullRefresh)
  .use(List)
  .use(Area)
  .use(Uploader)
  .use(ImagePreview)
  .use(Dialog)
  .use(Toast)
  .use(VanImage)
  .use(Badge)
  .use(NavBar)
  .use(Slider)
  .use(Row)
  .use(Col)
  .use(Picker)
  .use(Divider)
  .use(Overlay)
  .use(TreeSelect)
  .use(Sticky)
